import Mock from "mockjs";
import userApi from "./mockServeData/user";

Mock.mock(/user\/add/, userApi.createUser); //正则接口拦截
Mock.mock(/user\/edit/, "post", userApi.updateUser);
Mock.mock(/user\/getUser/, "get", userApi.getUserList);
Mock.mock(/user\/delete/, "get", userApi.deleteUser);
